package com.xu.book.service;

import com.xu.book.bean.Book;
import com.xu.book.bean.BorrowCard;
import com.xu.sys.bean.SysUser;
import com.xu.sys.utils.PageUtils;

import java.util.List;

public interface IBorrowCardService {
    void listPage(PageUtils pageUtils, SysUser user);

    int count(PageUtils pageUtils,SysUser user);

    List<BorrowCard> list();

    int save(BorrowCard entity);

    BorrowCard findById(int id);

    int updateById(BorrowCard entity);

    int deleteById(int id);


    List<BorrowCard> listCanuseCard(Integer userId);
}
